package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 管理员表 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-19
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    int deleteByPrimaryKey(Integer adminId);

    int insert(Admin row);

    Admin selectByPrimaryKey(Integer adminId);

    List<Admin> selectAll();

    int updateByPrimaryKey(Admin row);

    Admin selectByAdminName(String adminName);
}
